home *** CD-ROM | disk | FTP | other *** search
- :
- #
- # init.demo - Corollary Multiprocessor Demo Software
- # custom installation script
- #
- # Copyright (C) Corollary, Inc., 1986, 1987, 1988, 1989, 1990, 1991.
- # All Rights Reserved.
- # This Module contains Proprietary Information of
- # Corollary, Inc., and should be treated as Confidential.
- #
-
- PRODUCT="Corollary Multiprocessor Demo"
-
- PATH=/etc:/bin:/usr/bin
-
- : ${OK=0} ${FAIL=1} ${STOP=10} ${HALT=11}
-
- TMP="/tmp/init.demo /tmp/perms"
-
- error()
- {
- echo "\nError: $*\n" >&2
- echo "
- Press <Return> to continue\c"
- read x
- rm -rf $TMP
- exit $FAIL
- }
-
- exitok()
- {
- echo >&2
- rm -rf $TMP
- exit $OK
- }
-
- catch()
- {
- error "installation interrupted by user"
- }
-
- #
- # begin main()
- #
- trap catch 1 2 3 15
-
- echo "\n$PRODUCT 1.0.0 software installation." >&2
- echo "\nCopyright (C) Corollary, Inc., 1986-91." >&2
- echo "All Rights Reserved." >&2
-
- chown bin /etc/perms/demo
- chgrp bin /etc/perms/demo
- chmod 644 /etc/perms/demo
-
- exitok
-